<div class="login">
  <h2>Acced Form</h2>
  <div class="login-top">
    <h1>请登录系统</h1>
    <%= form_for @user, url: {action: :create} do |f| %>
        <!--这里的字段名称其实要与数据表（模型类）中的字段相同-->

        <%= f.text_field :email %>

        <%= f.password_field :encrypted_password %>
        <div class="forgot">
          <a href="#">忘记密码</a>
          <%= submit_tag('登　录') %>
        </div>
    <% end %>



  </div>
  <div class="login-bottom">
    <h3>New User &nbsp;<a href="<%= 'sign_up' %>">注册</a>&nbsp Here</h3>
  </div>
</div>

